package com.yanqu.road.entity.servercenter.tabnotice;

import com.yanqu.road.entity.DataObject;
import com.yanqu.road.entity.FieldTypeAnnotation;

import java.util.ArrayList;
import java.util.List;

/**
 * @Author : Cxp
 * @Time : 2024-12-25
 * @Description : 页签公告记录
 */

@FieldTypeAnnotation(tableName = "t_s_tab_notice")
public class ChannelTabNotice extends DataObject {
    @FieldTypeAnnotation(select = true, update = true)
    private int channelId; // 渠道ID

    @FieldTypeAnnotation(desc = "0-大掌柜 1-宫廷")
    private int gameType; // 0-大掌柜 1-宫廷

    @FieldTypeAnnotation(update = true)
    private String language; // 语言

    @FieldTypeAnnotation(update = true)
    private String appId;

    @FieldTypeAnnotation(desc = "页签公告列表")
    private List<TabNotice> tabNotices = new ArrayList<>(); // 页签公告列表

    public int getChannelId() {
        return channelId;
    }

    public void setChannelId(int channelId) {
        this.channelId = channelId;
    }

    public int getGameType() {
        return gameType;
    }

    public void setGameType(int gameType) {
        this.gameType = gameType;
    }

    public String getLanguage() {
        return language;
    }

    public void setLanguage(String language) {
        this.language = language;
    }

    public String getAppId() {
        return appId;
    }

    public void setAppId(String appId) {
        this.appId = appId;
    }

    public List<TabNotice> getTabNotices() {
        return tabNotices;
    }

    public void setTabNotice(List<TabNotice> tabNotice) {
        this.tabNotices = tabNotice;
    }
}
